package com.myprocessing.gui.util;

import com.myprocessing.gui.PGuiFrameApplet;

import processing.core.PApplet;
import processing.core.PFont;

public class Font {

	protected String fontName;
	protected PFont font;
	protected static PApplet pApplet;
	
	public void init() {
		font = pApplet.loadFont(fontName);
	}

	public PFont getFont() {
		return font;
	}

	public void setFont(PFont font) {
		this.font = font;
	}

	public String getFontName() {
		return fontName;
	}

	public void setFontName(String fontName) {
		this.fontName = fontName;
	}
	
	public static void setPApplet(PGuiFrameApplet p) {
		pApplet = p;
	}
	
}
